package com.wish.g1.system.api;

import com.wish.g1.common.core.constant.ServiceNameConstants;
import com.wish.g1.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

// @FeignClient(contextId = "house", value = ServiceNameConstants.HOUSE_SERVICE,url = "http://39.98.45.46:8102")
@FeignClient(contextId = "house", value = ServiceNameConstants.HOUSE_SERVICE)
public interface HouseFegin {

    @RequestMapping("/house/list")
    public TableDataInfo list();


    @GetMapping("/house/bulkIndex")
    public void bulkIndex();


}
